<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link href="css/personalCenter.css" rel="stylesheet" />
	</head>

	<body style="background-color: white;">
		<script src="js/mui.min.js"></script>
		<script src="js/url.js"></script>
		<script src="js/jquery.min.js"></script>
		<script>
			/*
						 如果你要用jQuery必须将下面这行代码放在第一行，然后将$符号换成jQuery
						 * */
			$.noConflict();
			jQuery.ajax({
				type: 'post',
				url: serverip.ip + '/personCentertest',
				dataType:'json',
				xhrFields: {
					withCredentials: true
				},
				crossDomain: true,
				success: function(data) {
					if(data == 1) {
			           
						jQuery(".login1:first").css("display","none");
						
						jQuery(".login").bind("tap", function() {
							
							mui.openWindow({
								url: 'personalInfo.html'
							})
						});
					} else {
						document.getElementsByClassName("login1")[0].style.display = 'block';
						jQuery(".login").unbind();
					}
				}
			});
		</script>

		<script type="text/javascript">
			mui.init()
		</script>
		<br/><br/>

		<div>
			<div class="include">
				<div>
					<div class="login" style="background-image: url('img/icon.jpg');">
					</div>
					<div class="login1">登录</div>
				</div>
			</div>
		</div>

		<br/><br/>

		<hr style="width:80%" />

		<br/>

		<div style="width:80%;margin:0 auto;">

			<a id="icon-icon-contact" class="update2">
				<span class="mui-icon mui-icon-contact">
         </span><span style="color:black"> 账号管理</span></a>
			<a><span class="mui-icon mui-icon-arrowright gt"></span></a>

		</div>

		<br/>

		<hr style="width:80%" />

		<br/>

		<div class="feedback">
			<a id="icon-chatboxes" class="opinion">
				<span class="mui-icon mui-icon-chatboxes ">
		   </span> <span style="color:black;">意见反馈</span></a>
			<a><span class="mui-icon mui-icon-arrowright gt"></span></a>
		</div>

		<br/>

		<hr style="width:80%" />

		<br/>

		<div class="clearTheCache">
			<a><span class="mui-icon mui-icon-trash clear">
		  		
		  	</span></a> 清理缓存
			<a><span class="mui-icon mui-icon-arrowright gt"></span></a>
		</div>

		<br/>
		<hr style="width:80%" />

		<nav class="mui-bar mui-bar-tab">
			<a class="mui-tab-item  update" href="tab-webview-subpage-about.html">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label ">更新</span>
			</a>
			<a class="mui-tab-item discover" href="tab-webview-subpage-chat.html">
				<span class="mui-icon mui-icon-personadd"></span>
				<span class="mui-tab-label ">发现</span>
			</a>
			<a class="mui-tab-item mycomics" href="tab-webview-subpage-contact.html">
				<span class="mui-icon mui-icon-star-filled"></span>
				<span class="mui-tab-label ">我的漫画</span>
			</a>
			<a id="defaultTab" class="mui-tab-item mui-active my" href="tab-webview-subpage-setting.html">
				<span class="mui-icon mui-icon-contact"></span>
				<span class="mui-tab-label ">MY</span>
			</a>
		</nav>

		<script>
			document.getElementsByClassName("update")[0].addEventListener("tap", function() {
				mui.openWindow({
					url: "homePage.html"
				})
			});

			document.getElementsByClassName("discover")[0].addEventListener("tap", function() {
				mui.openWindow({
					url: "discover.html"
				})
			});

			document.getElementsByClassName("mycomics")[0].addEventListener("tap", function() {
				mui.openWindow({
					url: "myComics.html"
				})
			});

			document.getElementsByClassName("my")[0].addEventListener("tap", function() {
				mui.openWindow({
					url: "personalCenter.html"
				})
			});
		</script>

		<script>
			document.getElementsByClassName("opinion")[0].addEventListener("tap", function() {
				mui.openWindow({
					url: "feedBack.html"
				})
			});

			document.getElementsByClassName("update2")[0].addEventListener("tap", function() {
				mui.openWindow({
					url: "accountManager.html"
				})
			});

			document.getElementsByClassName("login1")[0].addEventListener("tap", function() {
				mui.openWindow({
					url: "login.html"
				})
			});
		</script>

	</body>

</html>